package com.cat.springbootannocation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cat.springbootannocation.entity.User;
/**
 * @Repository暂时不要，改成主配置类扫描
 */

/**
 * @author:zss
 */
public interface UserMapper extends BaseMapper<User>{

    //@Select("select user_name from user where id = #{id}")
    public String getUser(Integer id);

    //@Update("update user set user_name = #{userName} where id = #{id}")
    public void updateUser(User user);
    
}
